package wyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dto.Result;
import com.entity.PostBar;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface PostBarService extends IService<PostBar> {
    Result getlist();

    Result add(String name, String categoryId, String describe, MultipartFile image);

    Result setRecommendBars(List<Integer> barIds);

    Result getRvcBarList(Integer getRecommendBars, String unameIndex, String searchWd, Integer searchType, String sortType, Integer categoryId);

    Result getDetailedBar(String uname, int barId);

    Result joinBar(int barId, String uname);

    Result exitBar(int barId, String uname);
}
